if user.hasAdminPower()
    #addnew.input-section
        datalist#lineNameList
            option(data-ng-repeat="t in lineNameList" value="{{t}}") 
        datalist#cityNameList
            option(data-ng-repeat="t in cityNameList" value="{{t}}")
        #status-pane 
            br
            .ui.message.warning
                .header 注意事项:
                p 1. 请正确填写各项名称
                p 2. 请不要新增本单位以外的项目,否则你将无法对它进行修改和操作.
            br
            br
            form.ui.form.user-info.segment(data-ng-submit="addProject()")
                .ui.label.attached.left.top.red 新增项目
                br
                br
                .two.fields
                    .field
                        label(for="prjName")
                            .fa.fa-home.fa-1x 
                            span &nbsp;项目名称&nbsp;
                        input(type="text" name="prjName" data-ng-model="item.prjName" required) 
                    .field
                        label(for="lineName")
                            .fa.fa-road.fa-1x 
                            span &nbsp;线路名称&nbsp;
                        input(type="text" name="lineName" list="lineNameList" data-ng-model="item.lineName" required) 
                .two.fields
                    .field
                        label(for="cityName")
                            .fa.fa-university.fa-1x 
                            span &nbsp;所在城市&nbsp;
                        select.form-control(name="cityName" data-ng-options="item as item for item in cityNameList" data-ng-model="item.cityName" required) 
                    .field
                        label(for="projectType")
                            .fa.fa-sitemap.fa-1x 
                            span &nbsp;项目类型&nbsp;
                        select.form-control(name="projectType" data-ng-options="item.value as item.name for item in projectTypeList" data-ng-model="item.projectType" required) 
                .two.fields
                    .field
                        label(for="constructor")
                            .fa.fa-building.fa-1x 
                            span &nbsp;施工单位&nbsp;
                        select.form-control(name="constructor" data-ng-options="item as item.shortName for item in corporationList" data-ng-model="item.corporation" required) 
                    .field
                        label(for="department")
                            .fa.fa-suitcase.fa-1x 
                            span &nbsp;作业部门&nbsp;
                        select.form-control(name="department" data-ng-options="item.name as item.name for item in item.corporation.departments" data-ng-model="item.department" required) 
                .field
                    br
                    input#addPrjBtn.ui.green.button(type="submit",value="提  交",style="float:right;min-height:2px;",ng-class="{ 'disabled' : creating }")

